package com.yand.api.service.business.order;

import com.github.pagehelper.PageInfo;
import com.yand.api.entity.business.order.THfOrder;
import com.yand.api.entity.business.product.THfDiscountDetail;

/**
 * 订单业务接口类
 */
public interface OrderService {

    PageInfo<THfOrder> queryAllOrderList(THfOrder order);

    THfOrder getOrderById(Integer id);

    String convertProductLevel(String grade);

    void insertToOrder(THfOrder order);

    void updateOrderStatus(String studentId, String status);


    void updateOrder(THfOrder order);

    THfOrder getOrderByStudentId(Integer studentId);
}
